<template>
  <div>
    <button @click="runProgress">RUN</button>
    <JProgress ref="jprogress"></JProgress>
  </div>
</template>

<script>
import JProgress from "./JProgress.vue"
export default {
    components:{JProgress},
    methods:{
        runProgress(){
           this.$refs.jprogress.start({url:'http://localhost:8811/test/events',param:{year:2024}})
        }
    }
}
</script>

<style>

</style>